home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
os2
/
srefv12i.zip
/
adv_opts.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-03-09
|
981b
|
27 lines
/*Example of a rexx procedure called by the EXEC line in an sre-filter
advanced-options file. It say echo stuff to the pmprintf window */
/* SRE-Filter passes the following arguments */
parse arg args,source,request,sel,privset,verbose,servername,host_nickname,datadir,homedir,tempdir
say " The following arguments were recieved: "
say "Args from the EXEC line in the advanced options file: " args
say "Source: " source
say "Request: " request
say " (modified) selector: " sel
say "SRE-Filter privileges: " privset
say "Verbose: " verbose
say "Servername: " servername
say "Host Nickname: " host_nickname
say "DataDirectory: " datadir
say "HomeDirectory: " homedir
say "TemporaryDirectory: " tempdir
return 0
/* note this should ALWAYS return 0. The only exception is when it
issues a goserve completion code (such as 'FILE xxx ' or 'VAR xxx')
If a completion code is issued, it should return status_code bytes_sent,
i.e.; return 200||' '||1512
*/